package cn.enneagon.kudu;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * 使用impala JDBC(21050) java API的demo
 */
public class ImpalaJdbcClient {

    public static void main(String[] args) throws SQLException {
        Connection conn = Contants.getConn();

//        Contants.createTable();

//        Contants.insertRows(new Person(1, 100, "lisi", "male", "lisi-photo"));

        ResultSet rs = Contants.queryRows();
        Contants.printRows(rs);
    }
}
